QT       += core gui

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

CONFIG += c++17

QMAKE_CFLAGS_RELEASE += -o3

# You can make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0

INCLUDEPATH += ./include

CONFIG(debug, debug|release){
LIBS += -L$$PWD/libs -lqscintilla2_qt5d
}
CONFIG(release, debug|release){
LIBS += -L$$PWD/libs -lqscintilla2_qt5
}

SOURCES += \
    src/beditor.cpp \
    src/main.cpp \
    src/qscibasiclexer.cpp

HEADERS += \
    include/Qsci/qsciabstractapis.h \
    include/Qsci/qsciapis.h \
    include/Qsci/qscicommand.h \
    include/Qsci/qscicommandset.h \
    include/Qsci/qscidocument.h \
    include/Qsci/qsciglobal.h \
    include/Qsci/qscilexer.h \
    include/Qsci/qscilexeravs.h \
    include/Qsci/qscilexerbash.h \
    include/Qsci/qscilexerbatch.h \
    include/Qsci/qscilexercmake.h \
    include/Qsci/qscilexercoffeescript.h \
    include/Qsci/qscilexercpp.h \
    include/Qsci/qscilexercsharp.h \
    include/Qsci/qscilexercss.h \
    include/Qsci/qscilexercustom.h \
    include/Qsci/qscilexerd.h \
    include/Qsci/qscilexerdiff.h \
    include/Qsci/qscilexeredifact.h \
    include/Qsci/qscilexerfortran.h \
    include/Qsci/qscilexerfortran77.h \
    include/Qsci/qscilexerhtml.h \
    include/Qsci/qscilexeridl.h \
    include/Qsci/qscilexerjava.h \
    include/Qsci/qscilexerjavascript.h \
    include/Qsci/qscilexerjson.h \
    include/Qsci/qscilexerlua.h \
    include/Qsci/qscilexermakefile.h \
    include/Qsci/qscilexermarkdown.h \
    include/Qsci/qscilexermatlab.h \
    include/Qsci/qscilexeroctave.h \
    include/Qsci/qscilexerpascal.h \
    include/Qsci/qscilexerperl.h \
    include/Qsci/qscilexerpo.h \
    include/Qsci/qscilexerpostscript.h \
    include/Qsci/qscilexerpov.h \
    include/Qsci/qscilexerproperties.h \
    include/Qsci/qscilexerpython.h \
    include/Qsci/qscilexerruby.h \
    include/Qsci/qscilexerspice.h \
    include/Qsci/qscilexersql.h \
    include/Qsci/qscilexertcl.h \
    include/Qsci/qscilexertex.h \
    include/Qsci/qscilexerverilog.h \
    include/Qsci/qscilexervhdl.h \
    include/Qsci/qscilexerxml.h \
    include/Qsci/qscilexeryaml.h \
    include/Qsci/qscimacro.h \
    include/Qsci/qsciprinter.h \
    include/Qsci/qsciscintilla.h \
    include/Qsci/qsciscintillabase.h \
    include/Qsci/qscistyle.h \
    include/Qsci/qscistyledtext.h \
    include/beditor.h \
    include/qscibasiclexer.h

FORMS += \
    beditor.ui

# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target

RESOURCES += \
    res.qrc

